package com.leyou.domain.db1entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TurnTableActivityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TurnTableActivityExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andActivitykeyIsNull() {
            addCriterion("activitykey is null");
            return (Criteria) this;
        }

        public Criteria andActivitykeyIsNotNull() {
            addCriterion("activitykey is not null");
            return (Criteria) this;
        }

        public Criteria andActivitykeyEqualTo(String value) {
            addCriterion("activitykey =", value, "activitykey");
            return (Criteria) this;
        }

        public Criteria andActivitykeyNotEqualTo(String value) {
            addCriterion("activitykey <>", value, "activitykey");
            return (Criteria) this;
        }

        public Criteria andActivitykeyGreaterThan(String value) {
            addCriterion("activitykey >", value, "activitykey");
            return (Criteria) this;
        }

        public Criteria andActivitykeyGreaterThanOrEqualTo(String value) {
            addCriterion("activitykey >=", value, "activitykey");
            return (Criteria) this;
        }

        public Criteria andActivitykeyLessThan(String value) {
            addCriterion("activitykey <", value, "activitykey");
            return (Criteria) this;
        }

        public Criteria andActivitykeyLessThanOrEqualTo(String value) {
            addCriterion("activitykey <=", value, "activitykey");
            return (Criteria) this;
        }

        public Criteria andActivitykeyLike(String value) {
            addCriterion("activitykey like", value, "activitykey");
            return (Criteria) this;
        }

        public Criteria andActivitykeyNotLike(String value) {
            addCriterion("activitykey not like", value, "activitykey");
            return (Criteria) this;
        }

        public Criteria andActivitykeyIn(List<String> values) {
            addCriterion("activitykey in", values, "activitykey");
            return (Criteria) this;
        }

        public Criteria andActivitykeyNotIn(List<String> values) {
            addCriterion("activitykey not in", values, "activitykey");
            return (Criteria) this;
        }

        public Criteria andActivitykeyBetween(String value1, String value2) {
            addCriterion("activitykey between", value1, value2, "activitykey");
            return (Criteria) this;
        }

        public Criteria andActivitykeyNotBetween(String value1, String value2) {
            addCriterion("activitykey not between", value1, value2, "activitykey");
            return (Criteria) this;
        }

        public Criteria andThemeIsNull() {
            addCriterion("theme is null");
            return (Criteria) this;
        }

        public Criteria andThemeIsNotNull() {
            addCriterion("theme is not null");
            return (Criteria) this;
        }

        public Criteria andThemeEqualTo(String value) {
            addCriterion("theme =", value, "theme");
            return (Criteria) this;
        }

        public Criteria andThemeNotEqualTo(String value) {
            addCriterion("theme <>", value, "theme");
            return (Criteria) this;
        }

        public Criteria andThemeGreaterThan(String value) {
            addCriterion("theme >", value, "theme");
            return (Criteria) this;
        }

        public Criteria andThemeGreaterThanOrEqualTo(String value) {
            addCriterion("theme >=", value, "theme");
            return (Criteria) this;
        }

        public Criteria andThemeLessThan(String value) {
            addCriterion("theme <", value, "theme");
            return (Criteria) this;
        }

        public Criteria andThemeLessThanOrEqualTo(String value) {
            addCriterion("theme <=", value, "theme");
            return (Criteria) this;
        }

        public Criteria andThemeLike(String value) {
            addCriterion("theme like", value, "theme");
            return (Criteria) this;
        }

        public Criteria andThemeNotLike(String value) {
            addCriterion("theme not like", value, "theme");
            return (Criteria) this;
        }

        public Criteria andThemeIn(List<String> values) {
            addCriterion("theme in", values, "theme");
            return (Criteria) this;
        }

        public Criteria andThemeNotIn(List<String> values) {
            addCriterion("theme not in", values, "theme");
            return (Criteria) this;
        }

        public Criteria andThemeBetween(String value1, String value2) {
            addCriterion("theme between", value1, value2, "theme");
            return (Criteria) this;
        }

        public Criteria andThemeNotBetween(String value1, String value2) {
            addCriterion("theme not between", value1, value2, "theme");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNull() {
            addCriterion("description is null");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNotNull() {
            addCriterion("description is not null");
            return (Criteria) this;
        }

        public Criteria andDescriptionEqualTo(String value) {
            addCriterion("description =", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotEqualTo(String value) {
            addCriterion("description <>", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThan(String value) {
            addCriterion("description >", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("description >=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThan(String value) {
            addCriterion("description <", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThanOrEqualTo(String value) {
            addCriterion("description <=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLike(String value) {
            addCriterion("description like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotLike(String value) {
            addCriterion("description not like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionIn(List<String> values) {
            addCriterion("description in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotIn(List<String> values) {
            addCriterion("description not in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionBetween(String value1, String value2) {
            addCriterion("description between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotBetween(String value1, String value2) {
            addCriterion("description not between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andSharurlIsNull() {
            addCriterion("sharurl is null");
            return (Criteria) this;
        }

        public Criteria andSharurlIsNotNull() {
            addCriterion("sharurl is not null");
            return (Criteria) this;
        }

        public Criteria andSharurlEqualTo(String value) {
            addCriterion("sharurl =", value, "sharurl");
            return (Criteria) this;
        }

        public Criteria andSharurlNotEqualTo(String value) {
            addCriterion("sharurl <>", value, "sharurl");
            return (Criteria) this;
        }

        public Criteria andSharurlGreaterThan(String value) {
            addCriterion("sharurl >", value, "sharurl");
            return (Criteria) this;
        }

        public Criteria andSharurlGreaterThanOrEqualTo(String value) {
            addCriterion("sharurl >=", value, "sharurl");
            return (Criteria) this;
        }

        public Criteria andSharurlLessThan(String value) {
            addCriterion("sharurl <", value, "sharurl");
            return (Criteria) this;
        }

        public Criteria andSharurlLessThanOrEqualTo(String value) {
            addCriterion("sharurl <=", value, "sharurl");
            return (Criteria) this;
        }

        public Criteria andSharurlLike(String value) {
            addCriterion("sharurl like", value, "sharurl");
            return (Criteria) this;
        }

        public Criteria andSharurlNotLike(String value) {
            addCriterion("sharurl not like", value, "sharurl");
            return (Criteria) this;
        }

        public Criteria andSharurlIn(List<String> values) {
            addCriterion("sharurl in", values, "sharurl");
            return (Criteria) this;
        }

        public Criteria andSharurlNotIn(List<String> values) {
            addCriterion("sharurl not in", values, "sharurl");
            return (Criteria) this;
        }

        public Criteria andSharurlBetween(String value1, String value2) {
            addCriterion("sharurl between", value1, value2, "sharurl");
            return (Criteria) this;
        }

        public Criteria andSharurlNotBetween(String value1, String value2) {
            addCriterion("sharurl not between", value1, value2, "sharurl");
            return (Criteria) this;
        }

        public Criteria andBackgroundurlIsNull() {
            addCriterion("backgroundurl is null");
            return (Criteria) this;
        }

        public Criteria andBackgroundurlIsNotNull() {
            addCriterion("backgroundurl is not null");
            return (Criteria) this;
        }

        public Criteria andBackgroundurlEqualTo(String value) {
            addCriterion("backgroundurl =", value, "backgroundurl");
            return (Criteria) this;
        }

        public Criteria andBackgroundurlNotEqualTo(String value) {
            addCriterion("backgroundurl <>", value, "backgroundurl");
            return (Criteria) this;
        }

        public Criteria andBackgroundurlGreaterThan(String value) {
            addCriterion("backgroundurl >", value, "backgroundurl");
            return (Criteria) this;
        }

        public Criteria andBackgroundurlGreaterThanOrEqualTo(String value) {
            addCriterion("backgroundurl >=", value, "backgroundurl");
            return (Criteria) this;
        }

        public Criteria andBackgroundurlLessThan(String value) {
            addCriterion("backgroundurl <", value, "backgroundurl");
            return (Criteria) this;
        }

        public Criteria andBackgroundurlLessThanOrEqualTo(String value) {
            addCriterion("backgroundurl <=", value, "backgroundurl");
            return (Criteria) this;
        }

        public Criteria andBackgroundurlLike(String value) {
            addCriterion("backgroundurl like", value, "backgroundurl");
            return (Criteria) this;
        }

        public Criteria andBackgroundurlNotLike(String value) {
            addCriterion("backgroundurl not like", value, "backgroundurl");
            return (Criteria) this;
        }

        public Criteria andBackgroundurlIn(List<String> values) {
            addCriterion("backgroundurl in", values, "backgroundurl");
            return (Criteria) this;
        }

        public Criteria andBackgroundurlNotIn(List<String> values) {
            addCriterion("backgroundurl not in", values, "backgroundurl");
            return (Criteria) this;
        }

        public Criteria andBackgroundurlBetween(String value1, String value2) {
            addCriterion("backgroundurl between", value1, value2, "backgroundurl");
            return (Criteria) this;
        }

        public Criteria andBackgroundurlNotBetween(String value1, String value2) {
            addCriterion("backgroundurl not between", value1, value2, "backgroundurl");
            return (Criteria) this;
        }

        public Criteria andTurntableurlIsNull() {
            addCriterion("turntableurl is null");
            return (Criteria) this;
        }

        public Criteria andTurntableurlIsNotNull() {
            addCriterion("turntableurl is not null");
            return (Criteria) this;
        }

        public Criteria andTurntableurlEqualTo(String value) {
            addCriterion("turntableurl =", value, "turntableurl");
            return (Criteria) this;
        }

        public Criteria andTurntableurlNotEqualTo(String value) {
            addCriterion("turntableurl <>", value, "turntableurl");
            return (Criteria) this;
        }

        public Criteria andTurntableurlGreaterThan(String value) {
            addCriterion("turntableurl >", value, "turntableurl");
            return (Criteria) this;
        }

        public Criteria andTurntableurlGreaterThanOrEqualTo(String value) {
            addCriterion("turntableurl >=", value, "turntableurl");
            return (Criteria) this;
        }

        public Criteria andTurntableurlLessThan(String value) {
            addCriterion("turntableurl <", value, "turntableurl");
            return (Criteria) this;
        }

        public Criteria andTurntableurlLessThanOrEqualTo(String value) {
            addCriterion("turntableurl <=", value, "turntableurl");
            return (Criteria) this;
        }

        public Criteria andTurntableurlLike(String value) {
            addCriterion("turntableurl like", value, "turntableurl");
            return (Criteria) this;
        }

        public Criteria andTurntableurlNotLike(String value) {
            addCriterion("turntableurl not like", value, "turntableurl");
            return (Criteria) this;
        }

        public Criteria andTurntableurlIn(List<String> values) {
            addCriterion("turntableurl in", values, "turntableurl");
            return (Criteria) this;
        }

        public Criteria andTurntableurlNotIn(List<String> values) {
            addCriterion("turntableurl not in", values, "turntableurl");
            return (Criteria) this;
        }

        public Criteria andTurntableurlBetween(String value1, String value2) {
            addCriterion("turntableurl between", value1, value2, "turntableurl");
            return (Criteria) this;
        }

        public Criteria andTurntableurlNotBetween(String value1, String value2) {
            addCriterion("turntableurl not between", value1, value2, "turntableurl");
            return (Criteria) this;
        }

        public Criteria andPointerurlIsNull() {
            addCriterion("pointerurl is null");
            return (Criteria) this;
        }

        public Criteria andPointerurlIsNotNull() {
            addCriterion("pointerurl is not null");
            return (Criteria) this;
        }

        public Criteria andPointerurlEqualTo(String value) {
            addCriterion("pointerurl =", value, "pointerurl");
            return (Criteria) this;
        }

        public Criteria andPointerurlNotEqualTo(String value) {
            addCriterion("pointerurl <>", value, "pointerurl");
            return (Criteria) this;
        }

        public Criteria andPointerurlGreaterThan(String value) {
            addCriterion("pointerurl >", value, "pointerurl");
            return (Criteria) this;
        }

        public Criteria andPointerurlGreaterThanOrEqualTo(String value) {
            addCriterion("pointerurl >=", value, "pointerurl");
            return (Criteria) this;
        }

        public Criteria andPointerurlLessThan(String value) {
            addCriterion("pointerurl <", value, "pointerurl");
            return (Criteria) this;
        }

        public Criteria andPointerurlLessThanOrEqualTo(String value) {
            addCriterion("pointerurl <=", value, "pointerurl");
            return (Criteria) this;
        }

        public Criteria andPointerurlLike(String value) {
            addCriterion("pointerurl like", value, "pointerurl");
            return (Criteria) this;
        }

        public Criteria andPointerurlNotLike(String value) {
            addCriterion("pointerurl not like", value, "pointerurl");
            return (Criteria) this;
        }

        public Criteria andPointerurlIn(List<String> values) {
            addCriterion("pointerurl in", values, "pointerurl");
            return (Criteria) this;
        }

        public Criteria andPointerurlNotIn(List<String> values) {
            addCriterion("pointerurl not in", values, "pointerurl");
            return (Criteria) this;
        }

        public Criteria andPointerurlBetween(String value1, String value2) {
            addCriterion("pointerurl between", value1, value2, "pointerurl");
            return (Criteria) this;
        }

        public Criteria andPointerurlNotBetween(String value1, String value2) {
            addCriterion("pointerurl not between", value1, value2, "pointerurl");
            return (Criteria) this;
        }

        public Criteria andBegintimeIsNull() {
            addCriterion("begintime is null");
            return (Criteria) this;
        }

        public Criteria andBegintimeIsNotNull() {
            addCriterion("begintime is not null");
            return (Criteria) this;
        }

        public Criteria andBegintimeEqualTo(Date value) {
            addCriterion("begintime =", value, "begintime");
            return (Criteria) this;
        }

        public Criteria andBegintimeNotEqualTo(Date value) {
            addCriterion("begintime <>", value, "begintime");
            return (Criteria) this;
        }

        public Criteria andBegintimeGreaterThan(Date value) {
            addCriterion("begintime >", value, "begintime");
            return (Criteria) this;
        }

        public Criteria andBegintimeGreaterThanOrEqualTo(Date value) {
            addCriterion("begintime >=", value, "begintime");
            return (Criteria) this;
        }

        public Criteria andBegintimeLessThan(Date value) {
            addCriterion("begintime <", value, "begintime");
            return (Criteria) this;
        }

        public Criteria andBegintimeLessThanOrEqualTo(Date value) {
            addCriterion("begintime <=", value, "begintime");
            return (Criteria) this;
        }

        public Criteria andBegintimeIn(List<Date> values) {
            addCriterion("begintime in", values, "begintime");
            return (Criteria) this;
        }

        public Criteria andBegintimeNotIn(List<Date> values) {
            addCriterion("begintime not in", values, "begintime");
            return (Criteria) this;
        }

        public Criteria andBegintimeBetween(Date value1, Date value2) {
            addCriterion("begintime between", value1, value2, "begintime");
            return (Criteria) this;
        }

        public Criteria andBegintimeNotBetween(Date value1, Date value2) {
            addCriterion("begintime not between", value1, value2, "begintime");
            return (Criteria) this;
        }

        public Criteria andEndtimeIsNull() {
            addCriterion("endtime is null");
            return (Criteria) this;
        }

        public Criteria andEndtimeIsNotNull() {
            addCriterion("endtime is not null");
            return (Criteria) this;
        }

        public Criteria andEndtimeEqualTo(Date value) {
            addCriterion("endtime =", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotEqualTo(Date value) {
            addCriterion("endtime <>", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeGreaterThan(Date value) {
            addCriterion("endtime >", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("endtime >=", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeLessThan(Date value) {
            addCriterion("endtime <", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeLessThanOrEqualTo(Date value) {
            addCriterion("endtime <=", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeIn(List<Date> values) {
            addCriterion("endtime in", values, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotIn(List<Date> values) {
            addCriterion("endtime not in", values, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeBetween(Date value1, Date value2) {
            addCriterion("endtime between", value1, value2, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotBetween(Date value1, Date value2) {
            addCriterion("endtime not between", value1, value2, "endtime");
            return (Criteria) this;
        }

        public Criteria andCreationtimeIsNull() {
            addCriterion("creationtime is null");
            return (Criteria) this;
        }

        public Criteria andCreationtimeIsNotNull() {
            addCriterion("creationtime is not null");
            return (Criteria) this;
        }

        public Criteria andCreationtimeEqualTo(Date value) {
            addCriterion("creationtime =", value, "creationtime");
            return (Criteria) this;
        }

        public Criteria andCreationtimeNotEqualTo(Date value) {
            addCriterion("creationtime <>", value, "creationtime");
            return (Criteria) this;
        }

        public Criteria andCreationtimeGreaterThan(Date value) {
            addCriterion("creationtime >", value, "creationtime");
            return (Criteria) this;
        }

        public Criteria andCreationtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("creationtime >=", value, "creationtime");
            return (Criteria) this;
        }

        public Criteria andCreationtimeLessThan(Date value) {
            addCriterion("creationtime <", value, "creationtime");
            return (Criteria) this;
        }

        public Criteria andCreationtimeLessThanOrEqualTo(Date value) {
            addCriterion("creationtime <=", value, "creationtime");
            return (Criteria) this;
        }

        public Criteria andCreationtimeIn(List<Date> values) {
            addCriterion("creationtime in", values, "creationtime");
            return (Criteria) this;
        }

        public Criteria andCreationtimeNotIn(List<Date> values) {
            addCriterion("creationtime not in", values, "creationtime");
            return (Criteria) this;
        }

        public Criteria andCreationtimeBetween(Date value1, Date value2) {
            addCriterion("creationtime between", value1, value2, "creationtime");
            return (Criteria) this;
        }

        public Criteria andCreationtimeNotBetween(Date value1, Date value2) {
            addCriterion("creationtime not between", value1, value2, "creationtime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}
